package com.infocollect.project.grant.domain;

import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报名项目对象 gr_grant
 *
 * @author infocollect
 * @date 2022-05-14
 */
public class GrGrant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long grantId;

    /** $column.columnComment */
    @Excel(name = "项目编号")
    private String grantCode;

    /** $column.columnComment */
    @Excel(name = "项目名称")
    private String grantName;

    /** $column.columnComment */
    @Excel(name = "项目类型")
    private Long granttypeId;

    /** $column.columnComment */
    @Excel(name = "项目说明")
    private String grantContent;

    /** $column.columnComment */
    private Long departId;

    /** $column.columnComment */
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "是否启用")
    private String isEnabled;

    /** 考官上报状态 */
    @Excel(name = "考官上报状态")
    private String upStatus;

    /** $column.columnComment */
    @Excel(name = "照片上传状态")
    private String isUpphoto;
    //评卷天数
    private Integer signDay;
    //组长每天费用
    private Float prefectPrice;
    //优秀每天费用
    private Float excellentPrice;
    //考官每天费用
    private Float examinerPrice;
    //免税额度
    private Float dutyFreePrice;
    //税率
    private Float taxRate;

    public void setGrantId(Long grantId)
    {
        this.grantId = grantId;
    }

    public Long getGrantId()
    {
        return grantId;
    }
    public void setGrantCode(String grantCode)
    {
        this.grantCode = grantCode;
    }

    public String getGrantCode()
    {
        return grantCode;
    }
    public void setGrantName(String grantName)
    {
        this.grantName = grantName;
    }

    public String getGrantName()
    {
        return grantName;
    }
    public void setGranttypeId(Long granttypeId)
    {
        this.granttypeId = granttypeId;
    }

    public Long getGranttypeId()
    {
        return granttypeId;
    }
    public void setGrantContent(String grantContent)
    {
        this.grantContent = grantContent;
    }

    public String getGrantContent()
    {
        return grantContent;
    }
    public void setDepartId(Long departId)
    {
        this.departId = departId;
    }

    public Long getDepartId()
    {
        return departId;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }

    public Long getCreateUser()
    {
        return createUser;
    }
    public void setIsEnabled(String isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled()
    {
        return isEnabled;
    }
    public void setUpStatus(String upStatus)
    {
        this.upStatus = upStatus;
    }

    public String getUpStatus()
    {
        return upStatus;
    }
    public void setIsUpphoto(String isUpphoto)
    {
        this.isUpphoto = isUpphoto;
    }

    public String getIsUpphoto()
    {
        return isUpphoto;
    }

    public Integer getSignDay() {
        return signDay;
    }

    public void setSignDay(Integer signDay) {
        this.signDay = signDay;
    }

    public Float getPrefectPrice() {
        return prefectPrice;
    }

    public void setPrefectPrice(Float prefectPrice) {
        this.prefectPrice = prefectPrice;
    }

    public Float getExcellentPrice() {
        return excellentPrice;
    }

    public void setExcellentPrice(Float excellentPrice) {
        this.excellentPrice = excellentPrice;
    }

    public Float getExaminerPrice() {
        return examinerPrice;
    }

    public void setExaminerPrice(Float examinerPrice) {
        this.examinerPrice = examinerPrice;
    }

    public Float getDutyFreePrice() {
        return dutyFreePrice;
    }

    public void setDutyFreePrice(Float dutyFreePrice) {
        this.dutyFreePrice = dutyFreePrice;
    }

    public Float getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(Float taxRate) {
        this.taxRate = taxRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("grantId", getGrantId())
            .append("grantCode", getGrantCode())
            .append("grantName", getGrantName())
            .append("granttypeId", getGranttypeId())
            .append("grantContent", getGrantContent())
            .append("departId", getDepartId())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("isEnabled", getIsEnabled())
            .append("upStatus", getUpStatus())
            .append("isUpphoto", getIsUpphoto())
            .toString();
    }
}
